package com.logic.saas.pojo;

import java.io.Serializable;
import java.util.Date;

import com.logic.saas.util.annotation.Column;
import com.logic.saas.util.annotation.Table;

@Table(name = "login_log")
public class LoginLog extends BasePojo implements Serializable {
   
	private static final long serialVersionUID = -3827913611923436297L;
	
	@Column(name = "user_id", source = "user.id")
	private User user;
	@Column(name = "ip")
	private String ip;
	@Column(name = "session_id")
	private String sessionId;
	@Column(name = "login_time")
	private Date loginTime;
	@Column(name = "logout_time")
	private Date logoutTime;
	@Column(name = "comments")
	private String comments;
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	public Date getLogoutTime() {
		return logoutTime;
	}
	public void setLogoutTime(Date logoutTime) {
		this.logoutTime = logoutTime;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	
	
}

